#[cfg(test)]
mod tests {
    use super::*;
    #[test]
    fn test_static() {
        const BUFFER_SIZE: usize = 11;

        let mut buffer = [0; BUFFER_SIZE];
        let expected_buffer = [1, 4, 2, 0, 0, 0, 0, 4, 4, 104, 111];

        unsafe {
            entry(BUFFER_SIZE as u32, buffer.as_mut_ptr());
        }
        
        assert_eq!(buffer, expected_buffer);
    }
}